package org.example.studentsystem_back.vo.userManageVo.smallVo;

import lombok.Getter;
import lombok.Setter;
import org.example.studentsystem_back.domain.Counselor;

@Getter
@Setter
public class PageCounselorItem extends Counselor {
    private String name;
    public void setDataByCounselor(Counselor counselor) {
        this.setUserid(counselor.getUserid());
        this.setClassName(counselor.getClassName());
        this.setDepartment(counselor.getDepartment());
        this.setEmployeeId(counselor.getEmployeeId());
        this.setHireDate(counselor.getHireDate());
        this.setOfficeAddress(counselor.getOfficeAddress());
        this.setWorkExperience(counselor.getWorkExperience());
        this.setTitle(counselor.getTitle());
        this.setPhone(counselor.getPhone());
    }
}
